package com.boguan.system.mapper;

import com.boguan.system.domain.Protocol;

/**
 * 协议信息  数据层
 *
 * @author chen
 */
public interface ProtocolMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Protocol record);

    int insertSelective(Protocol record);

    Protocol selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Protocol record);

    int updateByPrimaryKey(Protocol record);
    
    Protocol selectProtocolByType(Integer type);
}